<?php

class Admin_menu {

    function show_menu() {
        $obj = & get_instance();
        $obj->load->helper('url');
        $menu = "<ul>";

        $menu .= "<li>";
        $menu .= anchor("admin/index", "Home");
        $menu .= "</li>";
        $menu .= "<li>";
        $menu .= anchor("user", "Users");
        $menu .= "</li>";
        $menu .= "<li>";
        $menu .= anchor("club", "Clubs");
        $menu .= "</li>";
        $menu .= "<li>";
        $menu .= anchor("tournament", "Tournaments");
        $menu .= "</li>";
        $menu .= "<li>";
        $menu .= anchor("GSD_admin/home", "Events");
        $menu .= "</li>";

        $menu .= "</ul>";

        return $menu;
    }

}

?>